package car.aistar.entity;

import java.io.Serializable;

/**
 * (CarCart)实体类
 *
 * @author makejava
 * @since 2020-09-30 20:14:26
 */
public class CarCart implements Serializable {
    private static final long serialVersionUID = -33792026453130526L;
    /**
     * 购买意愿表主键
     */
    private Long id;
    /**
     * 用户id
     */
    private Long uId;
    /**
     * 车辆id
     */
    private Long cId;
    /**
     * 底价
     */
    private Double caBaseprice;
    /**
     * 出价
     */
    private Double caPrice;
    /**
     * 标价
     */
    private Double caSellprice;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUId() {
        return uId;
    }

    public void setUId(Long uId) {
        this.uId = uId;
    }

    public Long getCId() {
        return cId;
    }

    public void setCId(Long cId) {
        this.cId = cId;
    }

    public Double getCaBaseprice() {
        return caBaseprice;
    }

    public void setCaBaseprice(Double caBaseprice) {
        this.caBaseprice = caBaseprice;
    }

    public Double getCaPrice() {
        return caPrice;
    }

    public void setCaPrice(Double caPrice) {
        this.caPrice = caPrice;
    }

    public Double getCaSellprice() {
        return caSellprice;
    }

    public void setCaSellprice(Double caSellprice) {
        this.caSellprice = caSellprice;
    }

    @Override
    public String toString (){
        final StringBuilder sb = new StringBuilder("CarCart{");
        sb.append("id=").append(id);
        sb.append(", uId=").append(uId);
        sb.append(", cId=").append(cId);
        sb.append(", caBaseprice=").append(caBaseprice);
        sb.append(", caPrice=").append(caPrice);
        sb.append(", caSellprice=").append(caSellprice);
        sb.append('}');
        return sb.toString();
    }
}